package com.yiibai.aop;

import org.springframework.aop.ThrowsAdvice;

/**
 * Created by ange on 2016/6/4.
 */
public class HijackThrowException implements ThrowsAdvice {
    public void afterThrowing(IllegalArgumentException e) throws Throwable {
        System.out.println("HijackThrowException : Throw exception hijacked!");
    }
}
